package com.ruoyi.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 付款对象 pay
 * 
 * @author ruoyi
 * @date 2021-05-18
 */
public class Pay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 金额 */
    @Excel(name = "金额")
    private String money;

    /** 付款类型 */
    @Excel(name = "付款类型")
    private String type;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 电影票id */
    @Excel(name = "电影票id")
    private String movieId;

    /** 电影票名称 */
    @Excel(name = "电影票名称")
    private String movieName;

    /** 电影院id */
    @Excel(name = "电影院id")
    private String cinemaId;

    /** 电影院名称 */
    @Excel(name = "电影院名称")
    private String cinemaName;

    /** 座位id */
    @Excel(name = "座位id")
    private String seatId;

    /** 座位名称 */
    @Excel(name = "座位名称")
    private String seatName;

    /** 付款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "付款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    private String showId;

    private String showName;


    public String getShowId() {
        return showId;
    }

    public void setShowId(String showId) {
        this.showId = showId;
    }

    public String getShowName() {
        return showName;
    }

    public void setShowName(String showName) {
        this.showName = showName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setMovieId(String movieId) 
    {
        this.movieId = movieId;
    }

    public String getMovieId() 
    {
        return movieId;
    }
    public void setMovieName(String movieName) 
    {
        this.movieName = movieName;
    }

    public String getMovieName() 
    {
        return movieName;
    }
    public void setCinemaId(String cinemaId) 
    {
        this.cinemaId = cinemaId;
    }

    public String getCinemaId() 
    {
        return cinemaId;
    }
    public void setCinemaName(String cinemaName) 
    {
        this.cinemaName = cinemaName;
    }

    public String getCinemaName() 
    {
        return cinemaName;
    }
    public void setSeatId(String seatId) 
    {
        this.seatId = seatId;
    }

    public String getSeatId() 
    {
        return seatId;
    }
    public void setSeatName(String seatName) 
    {
        this.seatName = seatName;
    }

    public String getSeatName() 
    {
        return seatName;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("money", getMoney())
            .append("type", getType())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("movieId", getMovieId())
            .append("movieName", getMovieName())
            .append("cinemaId", getCinemaId())
            .append("cinemaName", getCinemaName())
            .append("seatId", getSeatId())
            .append("seatName", getSeatName())
            .append("time", getTime())
            .toString();
    }
}
